package cn.com.tbshuda.fastdfsthreadlocal.fast;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author: wsd
 * @date: 2021/4/27 13:17
 */
@Data
@PropertySource(value = {"classpath:fdfsBy.properties"})
@Component
public class FdfsByPorperties {

    @Value("${fastdfs.connect_timeout_in_seconds}")
    private String connect_timeout_in_seconds;
    @Value("${fastdfs.network_timeout_in_seconds}")
    private String network_timeout_in_seconds;
    @Value("${fastdfs.charset}")
    private String charset;
    @Value("${fastdfs.http_tracker_http_port}")
    private String http_tracker_http_port;
    @Value("${fastdfs.http_anti_steal_token}")
    private String http_anti_steal_token;
    @Value("${fastdfs.http_secret_key}")
    private String http_secret_key;
    @Value("${fastdfs.tracker_servers}")
    private String tracker_servers;

}
